#!/bin/bash

# parameter:
# the env. settings with extra values (also the exit code is there)

# the simplest check is to forward the exit code from the command

eval $(grep ADAPT_CMD_EXIT_CODE $1)

exit $ADAPT_CMD_EXIT_CODE
